//
// Copyright (c) Fela Ameghino 2015-2025
//
// Distributed under the GNU General Public License v3.0. (See accompanying
// file LICENSE or copy at https://www.gnu.org/licenses/gpl-3.0.txt)
//

namespace Telegram.Td.Api
{
    public partial class MessageAlbumLastMessage : MessageContent
    {
        public int PhotosCount { get; }

        public int VideosCount { get; }

        public MessageContent LastMessage { get; }

        public FormattedText Caption { get; }

        public MessageAlbumLastMessage(int photosCount, int videosCount, MessageContent lastMessage, FormattedText caption)
        {
            PhotosCount = photosCount;
            VideosCount = videosCount;
            LastMessage = lastMessage;
            Caption = caption;
        }

        public override string ToString()
        {
            return nameof(MessageAlbumLastMessage);
        }
    }
}
